package commerce.hibernate.po;

import java.util.Date;


/**
 * Product entity. @author MyEclipse Persistence Tools
 */

public class Product  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String productName;
     private String productAbstract;
     private String productIntroduction;
     private Float productPrice;
     private Integer isRecommand;
     private Date publishDate;
     private Integer isVisiable;
     private String productPic;
     private Integer categoryId;
     public Integer getCategoryId() {
		return categoryId;
	}


	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	private Integer shopId;


    // Constructors

    public Integer getShopId() {
		return shopId;
	}


	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}


	/** default constructor */
    public Product() {
    }

    
    /** full constructor */
    public Product(String productName, String productAbstract, String productIntroduction, Float productPrice, Integer isRecommand, Date publishDate, Integer isVisiable, String productPic, Integer categoryId) {
        this.productName = productName;
        this.productAbstract = productAbstract;
        this.productIntroduction = productIntroduction;
        this.productPrice = productPrice;
        this.isRecommand = isRecommand;
        this.publishDate = publishDate;
        this.isVisiable = isVisiable;
        this.productPic = productPic;
        this.categoryId = categoryId;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductName() {
        return this.productName;
    }
    
    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductAbstract() {
        return this.productAbstract;
    }
    
    public void setProductAbstract(String productAbstract) {
        this.productAbstract = productAbstract;
    }

    public String getProductIntroduction() {
        return this.productIntroduction;
    }
    
    public void setProductIntroduction(String productIntroduction) {
        this.productIntroduction = productIntroduction;
    }

    public Float getProductPrice() {
        return this.productPrice;
    }
    
    public void setProductPrice(Float productPrice) {
        this.productPrice = productPrice;
    }

    public Integer getIsRecommand() {
        return this.isRecommand;
    }
    
    public void setIsRecommand(Integer isRecommand) {
        this.isRecommand = isRecommand;
    }

    public Date getPublishDate() {
        return this.publishDate;
    }
    
    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public Integer getIsVisiable() {
        return this.isVisiable;
    }
    
    public void setIsVisiable(Integer isVisiable) {
        this.isVisiable = isVisiable;
    }

    public String getProductPic() {
        return this.productPic;
    }
    
    public void setProductPic(String productPic) {
        this.productPic = productPic;
    }

    
   








}